﻿<script type="text/javascript">
    if (location.search !== "?r") {
        location.search = "?r";
        throw new Error;  // load everything on the next page;
        // stop execution on this page
    }
    function checkEnter(e) {
        if (typeof e == 'undefined' && window.event) { e = window.event; }
        if (e.keyCode == 13) {
            addInput();
        }
    }
</script>
<html>
<head>
    <title>add word to Shanbay chrome extension</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <link href="css/main.css" rel="stylesheet" type="text/css">
    <script type="text/javascript" src="js/api.js"> </script>
    <script type="text/javascript" src="js/action.js"> </script>
</head>
<body onload="init()">
    <div id="container">
    <div class="user line"><span id="welcome" class="content"/></div>
    <div id="addInput" class="line">
        <div class="word content"><input id="wordInput" type="text" size="15" onkeyup="checkEnter()" autofocus/></div>
        <div class="op content"><input id="Button1" type="button" value=" Add " onclick="addInput()" /></div>
    </div>
    <div id="notice" class="notice line">&nbsp;
    </div>
    </div>
</body>
</html>
